import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//在Vue的原型对象上,挂载一个vue的实例对象
Vue.prototype.$Bus = new Vue

Vue.config.productionTip = false
// 方式二 全局注册组件
//Vue.component('参数名', 组件名)
import Comments from './components/CommentSon.vue'
Vue.component('CommentSrr', Comments)


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
